﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class ChangeArgsSMB : StateMachineBehaviour
{
    public string argsName;
    public int value;
    
    public override void OnStateExit(Animator animator, AnimatorStateInfo stateInfo, int layerIndex)
    {
        base.OnStateExit(animator, stateInfo, layerIndex);
        animator.SetInteger(argsName,value);
    }
}
